<?php
session_start();
include_once "conn/conn.php";
$reback = '0';

$username=$_GET['user'];
$sql=mysql_query("select * from f_user where username='".$username."'");
$info=mysql_fetch_array($sql);


header('Content-type: text/html;charset=GB2312');	

if ($info){
		$reback = '2';
	}else{
		$reback = '1';
	}
	echo $reback;
?>

